package com.helmlabs.grouper.cms.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.helmlabs.grouper.cms.model.AbstractModule;

public class ModuleDaoHibernate extends HibernateDaoSupport implements ModuleDao {
	
	public AbstractModule save(AbstractModule module){
		return (AbstractModule)getHibernateTemplate().merge(module);
	}
	
	public AbstractModule get(Long id){
		return (AbstractModule)getHibernateTemplate().get(AbstractModule.class, id);
	}

}
